package com.joyintech.vo.policyInquiry;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import javax.validation.constraints.NotBlank;


@JsonIgnoreProperties(ignoreUnknown = true)
public class Request {
    /**
     * 任务ID
     */
    @NotBlank(message = "任务ID不能为空")
    private String taskId;

    /**
     * 产品编号   固定值9990106999
     */
    @JacksonXmlProperty(localName = "pdCd")
    private String pdCd;

    /**
     * 交易代码   106A0004
     */
    @JacksonXmlProperty(localName = "txCd")
    private String txCd;

    /**
     * 版本号   01
     */
    @JacksonXmlProperty(localName = "verNo")
    private String verNo;

    /**
     * 证件类型
     */
    @JacksonXmlProperty(localName = "certTyp")
    private String certTyp;

    /**
     * 证件号码
     */
    @JacksonXmlProperty(localName = "certNo")
    private String certNo;

    /**
     * 客户编号
     */
    @JacksonXmlProperty(localName = "custNo")
    private String custNo;

    /**
     * 起始日期 yyyyMMdd
     */
    @JacksonXmlProperty(localName = "startDt")
    private String startDt;

    /**
     * 终止日期 yyyyMMdd
     */
    @JacksonXmlProperty(localName = "endDt")
    private String endDt;

    /**
     * 汇总标志 0-非汇总查询，仅查询普通保单（默认）
     *        1-汇总查询，同时查询保单+非实时保单
     */
    @JacksonXmlProperty(localName = "totlFlg")
    private String totlFlg;

    /**
     * 页码
     */
    @JacksonXmlProperty(localName = "pageNo")
    private String pageNo;

    /**
     * 每页条数
     */
    @JacksonXmlProperty(localName = "pageSize")
    private String pageSize;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getPdCd() {
        return pdCd;
    }

    public void setPdCd(String pdCd) {
        this.pdCd = pdCd;
    }

    public String getTxCd() {
        return txCd;
    }

    public void setTxCd(String txCd) {
        this.txCd = txCd;
    }

    public String getVerNo() {
        return verNo;
    }

    public void setVerNo(String verNo) {
        this.verNo = verNo;
    }

    public String getCertTyp() {
        return certTyp;
    }

    public void setCertTyp(String certTyp) {
        this.certTyp = certTyp;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getStartDt() {
        return startDt;
    }

    public void setStartDt(String startDt) {
        this.startDt = startDt;
    }

    public String getEndDt() {
        return endDt;
    }

    public void setEndDt(String endDt) {
        this.endDt = endDt;
    }

    public String getTotlFlg() {
        return totlFlg;
    }

    public void setTotlFlg(String totlFlg) {
        this.totlFlg = totlFlg;
    }

    public String getPageNo() {
        return pageNo;
    }

    public void setPageNo(String pageNo) {
        this.pageNo = pageNo;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }
}
